package com.exsun.ex1077.model

import com.exsun.ex1077.network.entity.Photo
import java.io.Serializable

//{
//    "equipmentId": "1092862132598476800",
//    "companyId": "",
//    "companyName": "",
//    "deviceId": "020200427388",
//    "simId": "",
//    "simCardDO": "",
//    "deviceModel": 32,
//    "deviceModelStr": "",
//    "channelsNum": "",
//    "position": "",
//    "versionNumber": "",
//    "activateStatus": "",
//    "activateStatusStr": "",
//    "activateTime": "",
//    "activateUserId": "",
//    "checkStatus": "",
//    "checkStatusStr": "",
//    "checkTime": "",
//    "checkDetail": "",
//    "checkDetailList": "",
//    "remark": "",
//    "vehicleId": "",
//    "numberPlate": "",
//    "vehicleColor": "",
//    "vehicleModel": "",
//    "vehiclePic": "",
//    "vehiclePicStr": "",
//    "delPictureStr": "",
//    "objIcon": "",
//    "objType": "",
//    "objTypeStr": "",
//    "contactNumberVehicle": "",
//    "ownerSex": "",
//    "ownerSexStr": "",
//    "ageVehicle": "",
//    "driverId": "",
//    "name": "",
//    "contactNumber": "",
//    "sex": "",
//    "sexStr": "",
//    "age": "",
//    "idCard": "",
//    "driverPic": "",
//    "driverPicStr": "",
//    "delDriverPicStr": "",
//    "createUserId": "",
//    "gmtCreate": "",
//    "modifiedUserId": "",
//    "gmtModified": "",
//    "alarmRuleId": "",
//    "bindRuleStatus": "",
//    "bindRuleStatusName": ""
//}

data class Device(
    val age: String = "",
    val ageVehicle: String? = null,
    val channelsNum: String = "",
    val companyId: String = "",
    val companyName: String = "",
    val contactNumber: String = "",
    val contactNumberVehicle: String? = null,
    val delDriverPicStr: String? = null,
    val delPictureStr: String? = null,
    val deviceId: String = "",
    val deviceModel: Int = 0,
    val deviceModelStr: String = "",
    val driverId: String = "",
    val driverPic: List<Photo>? = null,
    val driverPicStr: String? = null,
    val equipmentId: String = "",
    val idCard: String = "",
    var name: String = "",
    var numberPlate: String? = null,
    val objIcon: String = "",
    val objType: Int = -1,
    val objTypeStr: String = "",
    val ownerSex: Int = -1,
    val ownerSexStr: String? = null,
    val position: String? = null,
    val remark: String? = null,
    val sex: String? = null,
    val sexStr: String? = null,
    val simId: String = "",
    val vehicleColor: String? = null,
    val vehicleId: String? = null,
    val vehicleModel: String? = null,
    val vehiclePic: List<Photo>? = null,
    val vehiclePicStr: String? = null,
): Serializable